package com.example.demo.dto;

import java.time.LocalDateTime;

public class TimeDataResponse {
    private LocalDateTime timestamp;
    private double value;
    private String type;

    public TimeDataResponse(LocalDateTime timestamp, double value, String type) {
        this.timestamp = timestamp;
        this.value = value;
        this.type = type;
    }

    public LocalDateTime getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(LocalDateTime timestamp) {
        this.timestamp = timestamp;
    }

    public double getValue() {
        return value;
    }

    public void setValue(double value) {
        this.value = value;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
